<?php

/**
 * Created by PhpStorm.
 * User: Yieong
 * Date: 2017/1/17
 * Time: 上午11:33
 */
class ModLogDict{

    public static function getDictMap($type){
        $sql = 'SELECT * FROM dict_map WHERE log_type=:logType';
        return Yii::app()->dbOss->query($sql, array('logType' => $type));
    }

}